package com.bidevalution.controller.api;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.bidevalution.business.service.BeLayoutConfigService;
import com.bidevalution.dao.entity.BeLayoutConfig;
import com.qtp.core.model.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/beLayoutConfig")
@Api(value = "环节页面配置")
public class BeLayoutConfigController extends BaseController {
	@Autowired
	private BeLayoutConfigService beLayoutConfigService;

	@GetMapping("/getLayoutConfigList")
	@ApiOperation(value = "查询所有页面风格", notes = "查询所有页面风格", response = BeLayoutConfig.class)
	public Response<List<BeLayoutConfig>> selectList() {
		return Response.ok(beLayoutConfigService.selectList());
	}
}
